package com.hzhr.iot.device.dao.mapper.custom;

import com.hzhr.iot.device.entity.IotDeviceTypeEntity;
import com.hzhr.iot.device.entity.ext.IotDeviceTypeEntityExt;
import com.hzhr.iot.device.queryModel.custom.IotDeviceTypeCustomQueryModel;

import java.util.List;

public interface IotDeviceTypeEntityCustomMapper {
    //批量新增
    int insertBatch(List<IotDeviceTypeEntity> recordList);
    //批量更新
    int updateBatch(List<IotDeviceTypeEntity> recordList);
    //批量更新
    int updateBatchSelective(List<IotDeviceTypeEntity> recordList);
    //通用查询
    List<IotDeviceTypeEntityExt> selectExt(IotDeviceTypeCustomQueryModel queryModel);
    //通用查询数量
    int selectCount(IotDeviceTypeCustomQueryModel queryModel);
    //通用修改属性
    int updateProps(IotDeviceTypeCustomQueryModel queryModel);
    //通用删除
    int delete(IotDeviceTypeCustomQueryModel queryModel);

    //自定义查询
    List<IotDeviceTypeEntityExt> selectDesExt(IotDeviceTypeCustomQueryModel queryModel);
}
